package com.totem.product.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.totem.base.mybatis.model.AbstractEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(onlyExplicitlyIncluded=true, callSuper = true)
@Data
@Builder
@TableName("t_product_url")
public class TProductUrl extends AbstractEntity {
    @EqualsAndHashCode.Include
    @TableId(value="product_id", type= IdType.INPUT)
    private Long productId;
    @TableField(value="cover_url")
    private String coverUrl;
    @TableField(value="carousel_urls")
    private String carouselUrls;
    @TableField(value="video_url")
    private String videoUrl;
}
